﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Airon.Extras.DatabaseAccessor.Dapper.Internal
{
    public class SqlDataBaseConfig
    {
        /// <summary>
        /// 数据库连接字符串
        /// </summary>
        public string ConnectionString { get; set; }

        /// <summary>
        /// 数据库类型
        /// </summary>
        public DbType dbType { get; set; }

        /// <summary>
        /// 数据库类型 
        /// </summary>
        public  enum DbType
        {
            /// <summary>
            /// 主数据库
            /// </summary>
            Master,
            /// <summary>
            /// 从数据库
            /// </summary>
            Slave

        }
    }
}
